using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SU.DomainModel.Entity
{
    public partial class News
    {
        public string ID { get; set; }

        [Required(ErrorMessage = "*")]
        public string TypeID { get; set; }

        [Required(ErrorMessage = "*")]
        public string Title { get; set; }
        public string KeyWord { get; set; }
        public string Description { get; set; }
        public string NewsContent { get; set; }

        [Required(ErrorMessage = "*")]
        public Nullable<int> Flag { get; set; }
        public string UsersID { get; set; }
        public Nullable<System.DateTime> CreateDate { get; set; }
    }
}
